package com.estate.pojo;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class Bespoke {
    private Long besId;

    private Integer besActual;//实际排号

    @JSONField(format="yyyy-MM-dd")
    private Date besDate;//预约日期

    @JSONField(format="yyyy-MM-dd")
    private Date besExpirationDate;//失效日期

    private Integer besProject;//项目排号

    private Integer besRoom;//房间排号

    private Long roomId;//房间id

    private Double besReceivables;//应收预约金

    private Double besNetreceipts;//实收预约金

    private String besCurrency;//币种

    private Long userId;//用户id

    private String besRemarks;//备注

    private Long cusId;//客户id
    
    //多对一
    private User user;//用户表
    
    private Customer customer;//客户表
    
    private Room room;//房间表
    
    //额外的属性
    private String cusName;//客户名称
    private String projectName;//项目名称
    private String detAbbreviation;//项目简称
    private String banName;//楼栋名称
    private String roomNumber;//房间号
    private String userName;//用户名称

    public String getCusName() {
		return cusName;
	}

	public void setCusName(String cusName) {
		this.cusName = cusName;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getDetAbbreviation() {
		return detAbbreviation;
	}

	public void setDetAbbreviation(String detAbbreviation) {
		this.detAbbreviation = detAbbreviation;
	}

	public String getBanName() {
		return banName;
	}

	public void setBanName(String banName) {
		this.banName = banName;
	}

	public String getRoomNumber() {
		return roomNumber;
	}

	public void setRoomNumber(String roomNumber) {
		this.roomNumber = roomNumber;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Room getRoom() {
		return room;
	}

	public void setRoom(Room room) {
		this.room = room;
	}

	public Long getBesId() {
        return besId;
    }

    public void setBesId(Long besId) {
        this.besId = besId;
    }

    public Integer getBesActual() {
        return besActual;
    }

    public void setBesActual(Integer besActual) {
        this.besActual = besActual;
    }

    public Date getBesDate() {
        return besDate;
    }

    public void setBesDate(Date besDate) {
        this.besDate = besDate;
    }

    public Date getBesExpirationDate() {
        return besExpirationDate;
    }

    public void setBesExpirationDate(Date besExpirationDate) {
        this.besExpirationDate = besExpirationDate;
    }

    public Integer getBesProject() {
        return besProject;
    }

    public void setBesProject(Integer besProject) {
        this.besProject = besProject;
    }

    public Integer getBesRoom() {
        return besRoom;
    }

    public void setBesRoom(Integer besRoom) {
        this.besRoom = besRoom;
    }

    public Long getRoomId() {
        return roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public Double getBesReceivables() {
        return besReceivables;
    }

    public void setBesReceivables(Double besReceivables) {
        this.besReceivables = besReceivables;
    }

    public Double getBesNetreceipts() {
        return besNetreceipts;
    }

    public void setBesNetreceipts(Double besNetreceipts) {
        this.besNetreceipts = besNetreceipts;
    }

    public String getBesCurrency() {
        return besCurrency;
    }

    public void setBesCurrency(String besCurrency) {
        this.besCurrency = besCurrency == null ? null : besCurrency.trim();
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getBesRemarks() {
        return besRemarks;
    }

    public void setBesRemarks(String besRemarks) {
        this.besRemarks = besRemarks == null ? null : besRemarks.trim();
    }

    public Long getCusId() {
        return cusId;
    }

    public void setCusId(Long cusId) {
        this.cusId = cusId;
    }

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
}